package test.file;

public class LoggingDto {
	private String CLERK_NO;
	private String TRAN_CODE;
	private String TRAN_DATE;
	private String TRAN_TIME;
	private String PTY_ID;
	private String TERM_NO;
	private String IP_ADDR;
	private String CRUD_CLS;
	private String REF_NO_CLS;
	private String REF_NO;
	private String TRAN_DETL;
	private String EDW_INPUT_DATE;
	private String EDW_UPDATE_DATE;
	
	public String getCLERK_NO() {
		return CLERK_NO;
	}
	public void setCLERK_NO(String cLERK_NO) {
		CLERK_NO = cLERK_NO;
	}
	public String getTRAN_CODE() {
		return TRAN_CODE;
	}
	public void setTRAN_CODE(String tRAN_CODE) {
		TRAN_CODE = tRAN_CODE;
	}
	public String getTRAN_DATE() {
		return TRAN_DATE;
	}
	public void setTRAN_DATE(String tRAN_DATE) {
		TRAN_DATE = tRAN_DATE;
	}
	public String getTRAN_TIME() {
		return TRAN_TIME;
	}
	public void setTRAN_TIME(String tRAN_TIME) {
		TRAN_TIME = tRAN_TIME;
	}
	public String getPTY_ID() {
		return PTY_ID;
	}
	public void setPTY_ID(String pTY_ID) {
		PTY_ID = pTY_ID;
	}
	public String getTERM_NO() {
		return TERM_NO;
	}
	public void setTERM_NO(String tERM_NO) {
		TERM_NO = tERM_NO;
	}
	public String getIP_ADDR() {
		return IP_ADDR;
	}
	public void setIP_ADDR(String iP_ADDR) {
		IP_ADDR = iP_ADDR;
	}
	public String getCRUD_CLS() {
		return CRUD_CLS;
	}
	public void setCRUD_CLS(String cRUD_CLS) {
		CRUD_CLS = cRUD_CLS;
	}
	public String getREF_NO_CLS() {
		return REF_NO_CLS;
	}
	public void setREF_NO_CLS(String rEF_NO_CLS) {
		REF_NO_CLS = rEF_NO_CLS;
	}
	public String getREF_NO() {
		return REF_NO;
	}
	public void setREF_NO(String rEF_NO) {
		REF_NO = rEF_NO;
	}
	public String getTRAN_DETL() {
		return TRAN_DETL;
	}
	public void setTRAN_DETL(String tRAN_DETL) {
		TRAN_DETL = tRAN_DETL;
	}
	public String getEDW_INPUT_DATE() {
		return EDW_INPUT_DATE;
	}
	public void setEDW_INPUT_DATE(String eDW_INPUT_DATE) {
		EDW_INPUT_DATE = eDW_INPUT_DATE;
	}
	public String getEDW_UPDATE_DATE() {
		return EDW_UPDATE_DATE;
	}
	public void setEDW_UPDATE_DATE(String eDW_UPDATE_DATE) {
		EDW_UPDATE_DATE = eDW_UPDATE_DATE;
	}
	
	
	public String toStringLine() {
	    
	    String delimiter = "|";
	    
	    String res = CLERK_NO + delimiter;
	    res += TRAN_CODE + delimiter;
	    res += TRAN_DATE + delimiter;
	    res += TRAN_TIME + delimiter;
	    res += PTY_ID + delimiter;
	    res += TERM_NO + delimiter;
	    res += IP_ADDR + delimiter;
	    res += CRUD_CLS + delimiter;
	    res += REF_NO_CLS + delimiter;
	    res += CLERK_NO + delimiter;
	    res += TRAN_DETL + delimiter;
	    res += EDW_INPUT_DATE + delimiter;
	    res += EDW_UPDATE_DATE + "\n";
	    
	    return res;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString() 
	 * 
	 * Method : test.file.LoggingDto.toString()
	 */
	@Override
	public String toString() {
	    StringBuilder builder = new StringBuilder();
	    builder.append("LoggingDto [CLERK_NO=");
	    builder.append(CLERK_NO);
	    builder.append(", TRAN_CODE=");
	    builder.append(TRAN_CODE);
	    builder.append(", TRAN_DATE=");
	    builder.append(TRAN_DATE);
	    builder.append(", TRAN_TIME=");
	    builder.append(TRAN_TIME);
	    builder.append(", PTY_ID=");
	    builder.append(PTY_ID);
	    builder.append(", TERM_NO=");
	    builder.append(TERM_NO);
	    builder.append(", IP_ADDR=");
	    builder.append(IP_ADDR);
	    builder.append(", CRUD_CLS=");
	    builder.append(CRUD_CLS);
	    builder.append(", REF_NO_CLS=");
	    builder.append(REF_NO_CLS);
	    builder.append(", REF_NO=");
	    builder.append(REF_NO);
	    builder.append(", TRAN_DETL=");
	    builder.append(TRAN_DETL);
	    builder.append(", EDW_INPUT_DATE=");
	    builder.append(EDW_INPUT_DATE);
	    builder.append(", EDW_UPDATE_DATE=");
	    builder.append(EDW_UPDATE_DATE);
	    builder.append("]");
	    return builder.toString();
	}
}
